<%-- 
    Document   : search
    Created on : Jan 5, 2012, 2:34:00 AM
    Author     : IZZAT
--%>

<%@page import="entity.Gejala"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<% List result = (List) request.getAttribute("penyakit");%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <table border="0" style="border-collapse:collapse;">
            <tr>
                <td width=30% halign="right" style="background-color:green; border-bottom-style: solid; border-bottom-color: gold; border-bottom-width: 5px;"><p align="right"><img src="img/K view.jpeg" width="75px" height="75px"></p></td>
                <td width=40% style="background-color:green; border-bottom-style: solid; border-bottom-color: goldenrod; border-bottom-width: 5px;"><font color="white"><h1>Hasil Pencarian</h1></font></td>
                <td width=30% style="background-color:green; border-bottom-style: solid; border-bottom-color: gold; border-bottom-width: 5px;"></td>
            </tr>
            <tr>
                <td colspan="3">
                    Kemungkinan pasien menderita penyakit :
                    <ul>
                        <%
                            for (int i = 0; i < result.size(); i++) {
                                Gejala gejala = (Gejala) result.get(i);
                                out.print("<li>" + gejala.getNamaPenyakit() + "</li>");
                            }
                        %>
                    </ul></td>
            </tr>
        </table>
                    
    </body>
</html>
